Xbasic

A5_SYSTEM_TOOLBAR_SHOW Function

Syntax

Toolbar_Title as C = a5_system_toolbar_show(P vars ,P toolbar_property_string [,C relative_position [,L flagGlobal ]])

Arguments

Toolbar_Title

The title of the toolbar.

vars

A pointer to the variable frame.

toolbar_property_string

A pointer to the toolbar.

relative_position

Character. Not used.

flagGlobal

Logical

Description

The A5_SYSTEM_TOOLBAR_SHOW() function displays a previously loaded toolbar.

The toolbar_property_string is returned by the appropriate function. e.g. a5_form_toolbar() etc.

Example

dim vl as P
dim tbar as P
vl = local_variables()
tbar = a5_toolbar_def_load("Invoice")
a5_system_toolbar_show(vl,tbar)
? properties_enum(tbar)
= dlg_title
pre_toolbar_init
dlg_horizontal
dlg_vertical
dlg_float
event_code
? tbar.dlg_title
= "Form View"

Limitations

Desktop applications only.

See Also